#!/bin/bash

# Copy SFML shared object library so that you can run birdie
cp extlib/lib/libsfml-audio.so.1.5 /usr/lib/libsfml-audio.so.1.5
cp extlib/lib/libsfml-graphics.so.1.5 /usr/lib/libsfml-graphics.so.1.5
cp extlib/lib/libsfml-network.so.1.5 /usr/lib/libsfml-network.so.1.5
cp extlib/lib/libsfml-system.so.1.5 /usr/lib/libsfml-system.so.1.5
cp extlib/lib/libsfml-window.so.1.5 /usr/lib/libsfml-window.so.1.5

# Create symbolic link to enable Code::Blocks to run the program (otherwise it won't find the resources files)
ln -s resources/img img
ln -s resources/cfg cfg
ln -s resources/snd snd
ln -s resources/blender blender
